package xkp.lesson.dao;

import java.sql.SQLException;
import java.util.List;

public interface BaseDao<T>{
    public List<T> selectAll();
    public T selectById(int id) throws SQLException, ClassNotFoundException;
    public int insert(T t);
    public int deleteById(int id);
    public int update(T t);
}
